#ifndef MONITORINGREGISTER_H
#define MONITORINGREGISTER_H

#include <QWidget>
#include "MonitoringTool.h"
#include <QTimer>
#include "MonitoringUserSqlite.h"
namespace Ui {
class MonitoringRegister;
}

class MonitoringRegister : public QWidget
{
    Q_OBJECT

public:
    explicit MonitoringRegister(QWidget *parent = nullptr);
    ~MonitoringRegister();
    void timerFinish();
signals:
    void registerClick();
    void backClick();
public slots:
    void handleDataReceived(const QByteArray &);
private:
    Ui::MonitoringRegister *ui;
    MonitoringTool tool;
    QTimer *timer;
    MonitoringUserSqlite&userSqlite;
};

#endif // MONITORINGREGISTER_H
